
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="/static/common/common.jsp"%>
    <script src="/static/js/system/layout/schoolContacts.js"></script>
    <title>Title</title>
</head>
<body>
<table id="schoolContacts_dataGrid"></table>

<div id="schoolContacts_toolbar">
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="show" onclick="show()">查看</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="remove">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="contract">签约</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" data-cmd="exportExcel">导出</a>
    关键字:
    <input class="easyui-textbox" style="width:120px" prompt="联系人名称\电话\QQ" id="keyword">
    所属学校:
    <td><input class="easyui-combobox com" style="width:150px" editable="false" id="schoolId"
               data-options="url:'/bigClient/queryAllBigClient',valueField:'id', textField:'schoolName',panelHeight:'auto'" >
    </td>
    状态:
    <input class="easyui-combobox" style="width:120px" id="state"
           data-options="data:[{value:2,text:'已签约'},{value:1,text:'暂时没有签约'}]
                                    ,valueField:'value', textField:'text',panelHeight:'auto'" >
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="query">搜索</a>
</div>


<%--员工添加和编辑对话框--%>
<div id="schoolContacts_dialog">
    <form id="schoolContacts_form" method="POST" style="padding:20px">
        <input id="schoolContactsId" type="hidden" name="id">
        <fieldset>
            <legend>基本信息</legend>
            <table align="center">
                <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;姓名:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="name"></td>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;性别:</td>
                    <td><input class="easyui-combobox com" style="width:150px" name="gender"
                               data-options="data:[{value:'男',text:'男'},{value:'女',text:'女'}]
                                        ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                    <td>所属学校:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="school.id"
                               data-options="url:'/bigClient/queryAllBigClient',valueField:'id', textField:'schoolName',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;电话:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="phone"></td>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QQ:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="qq"></td>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;Email:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="email"></td>
                </tr>
                <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;状态:</td>
                    <td><input class="easyui-combobox com" style="width:150px" name="state"
                               data-options="data:[{value:2,text:'已签约'},{value:1,text:'暂时没有签约'}]
                                        ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>其它信息</legend>
            <table align="center" >
                <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;院系:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="college"></td>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;部门:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="department"></td>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;职务:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="duty"></td>
              </tr>
             <tr>
                 <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;生日:</td>
                 <td><input id="time" class="easyui-datebox" style="width:150px" editable="false" name="birthday"></td>
                 <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;地址:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="site"></td>
             </tr>
         </table>
     </fieldset>
     <fieldset>
         <legend>简介</legend>
         <table align="center">
             <tr>
                 <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;简介:</td>
                 <td><input class="easyui-textbox text" style="width:600px; height:100px;" name="abstractz"></td>
             </tr>
         </table>
     </fieldset>
    </form>
</div>

<div id="schoolContacts_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="save" >保存</a>
    <a href="#" class="easyui-linkbutton" data-cmd="close_dialog" >关闭</a>
</div>

</body>
</html>
